package com.sgzn.sgpay.enums;

/**
 * @author huangsenguang
 * @version Id: RegPattern.java, v 0.1 2018/5/30 14:58 huangsenguang Exp $$
 */
public class RegPattern {
    /**
     * 日期yyyyMMdd
     */
    public final static String SIMPLE_DATE = "^\\d{4}((0[1-9])|(1[0-2]))(([0-2][0-9])|(3[0-1]))$";

    /**
     * 日期yyyy-MM-dd
     */
    public final static String SIMPLE_DATE_SECOND = "(19|20)[0-9][0-9]-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[01])";
}
